package com.zer0.tga.tile;

import com.zer0.tga.art.ArtArchive;
import com.zer0.tga.art.Screen;
import com.zer0.tga.entity.Entity;
import com.zer0.tga.entity.livingentity.flyingentity.FlyingEntity;
import com.zer0.tga.level.Level;

public class HoleTile extends Tile {
	
	
	   public void init(Level level, int x, int y) {
	        super.init(level, x, y);
	    }
	   
	   public void init(Level level, int x, int y, int side) {
	        super.init(level, x, y);
	    }
	
	public boolean canPass(Entity e) {
        return (e instanceof FlyingEntity);
    }

	public void render(Screen screen) {
        screen.draw(ArtArchive.grassTile[0][5], position.x * Tile.WIDTH, position.y * Tile.HEIGHT);
    }

	
}
